<template>
    <!-- 面包屑 -->
    <el-breadcrumb separator="/">
        <el-breadcrumb-item>流程管理</el-breadcrumb-item>
        <el-breadcrumb-item>表单管理</el-breadcrumb-item>
    </el-breadcrumb>

    <v-form-designer ref="vfdRef"
    :designer-config="designerConfig">
        <!-- 自定义按钮插槽演示 -->
      <template #customToolButtons>
        <el-button type="text" @click="saveFormJson">保存</el-button>
      </template>
    </v-form-designer>
</template>

<script setup>
import {ref} from 'vue'
const designerConfig = ref({
    languageMenu: false,
    externalLink: false,
})

const saveFormJson = (row) => {
    console.log("save form json",row)
}
</script>

<style>
.el-button--primary.is-link,
.el-button--primary.is-plain,
.el-button--primary.is-text {
  color: white !important; /* 或其他你希望的样式 */
}
</style>